<div id="form_quit">
	<div class="pc-nav form-nav">
		<button @click="back(-1)"><i class="icon iconfont">&#xe62b;</i></button>
		<span>离职审批</span>
	</div>
	<ul class="approval-form-wrap">
		<li>
			<em class="left"><span style="color: red;">*</span>离职原因</em>
			<i class="right">
				<textarea name="" v-model="submitJson.component[0].value" rows="" cols="" placeholder="请输入(必填)"></textarea>
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[0].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>离职原因不能为空</p>
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>离职日期</em>
			<i class="right">
				<vue-datepicker-local v-model="submitJson.component[1].value" ></vue-datepicker-local>
				<!--<input type="number" min="0" v-model="" />-->
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[1].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>离职日期不能为空</p>
			</i>
		</li>
		<li>
			<em class="left">交接人</em>
			<i class="right">
				<dingdinguser-input v-on:getdingdinguser="getHandover"></dingdinguser-input>
			</i>
		</li>
		<li>
			<em class="left"></em>
			<i class="right">
				审批人请依次选择：<br/>
                                       直属或部门领导、财务、刘洋
			</i>
		</li>
		<li>
			<em class="left">审批人</em>
			<i class="right">
				<dingding_users  v-on:getdingdinguser="getApproveUsers" message="approve" :approve_list="approve_list" :cc_list="cc_list" ></dingding_users>
			</i>
		</li>
		<li>
			<em class="left">抄送人</em>
			<i class="right">
				  <dingding_users v-on:getdingdinguser="getCopyUsers" :approve_list="approve_list" :cc_list="cc_list" message="cc"></dingding_users>
			</i>
		</li>
		<li>
			<em class="left"></em>
			<i class="right">
				  <span v-if="subFlag"></span>
				 <button class="submit-foot" @click="submitFn">提交</button>
			</i>
		</li>
	</ul>
		
</div>